/*
 * @Author: bsj
 * @Date: 2024-09-04
 * @LastEditors: baoshijie baoshijie
 * @LastEditTime: 2024-11-24 17:17:09
 * @Description: file content
 * @FilePath: \computing-equipment\src\views\assistedDecision\data.js
 */
export const tableHeaderList = [
  {
    label: "规格",
    prop: "model",
    width: "140px",
    fixed: "left",
    type: "select",
  },
  {
    label: "层数",
    prop: "layers",
    type: "el-input-number",
    width: "100px",
  },
  {
    label: "芯层厚度",
    prop: "core_thickness",
    type: "el-input-number",
    width: "100px",
  },
  {
    label: "上盖胶厚度",
    prop: "upper_glue_thickness",
    type: "el-input-number",
    width: "100px",
  },
  {
    label: "下盖胶厚度",
    prop: "lower_glue_thickness",
    type: "el-input-number",
    width: "100px",
  },
  {
    label: "总厚度",
    prop: "total_thickness",
    // type: "el-input-number",
    width: "100px",
  },

  {
    label: "宽度英寸",
    prop: "width_inch",
    type: "el-input-number",
    width: "100px",
  },
  {
    label: "宽度毫米",
    prop: "width_mm",
    width: "85px",
  },
  {
    label: "带边",
    prop: "edge",
    type: "el-input",
    width: "100px",
  },
  {
    label: "单卷长度m",
    prop: "length_per_roll",
    width: "100px",
    type: "el-input-number",
  },
  {
    label: "总长",
    prop: "total_length",
    type: "el-input-number",
    width: "100px",
  },
  { 
    label: "卷数",
    prop: "roll_count",
  },
  {
    label: "每卷理论直径",
    prop: "theoretical_diameter",
  },
  {
    label: "每英寸/m重量",
    prop: "weight_per_inch_m",
    width: "100px",
  },
  {
    label:'每卷重量',
    prop:'roll_weight'
  },
  {
    label: "每卷需压制的生产编号",
    prop: "production_number",
    type: "el-input",
    width: "100px",

  },{
    label: "FOB美元单价",
    prop: "fob_price",
  },
  {
    label: "小计",
    prop: "subtotal",
  },
  {
    label: "用料材料情况说明",
    prop: "materialsUsed",
    children:[
      {
        label: "包/切边宽m",
        prop: "edge_width",
        width: "100px",
      },
      {
        label: "帆布型号",
        prop: "specifications",
        width: "85px",
      },
      {
        label: "帆布单重",
        prop: "weight",
        width: "85px",
      },
      {
        label: "帆布单价",
        prop: "unitPrice",
        width: "85px",
      },
      {
        label: "芯胶厚",
        prop: "core_glue_thickness",
      },
      {
        label: "芯胶代号",
        prop: "core_glue_code",
        width: "85px",
        type: "select",
      },
      {
        label: "芯胶单价",
        prop: "core_glue_price",
        width: "85px",
      },
      {
        label: "上胶量",
        prop: "upper_glue_amount",
      },
      {
        label: "盖胶代号",
        prop: "cover_glue_code",
        type: "select",
        width: "95px",
      },
      {
        label: "盖胶单价",
        prop: "cover_glue_price",
        width: "85px",
      },
      {
        label: "工费",
        prop: "labor_cost",
        type: "el-input-number",
        width: "85px",

      }
    ]
  },
  {
    label: "单价 元/㎡",
    prop: "unit_price",
    width: "85px",
  },
  {
    label: "计算各部每平方米单价元/㎡",
    prop: "calculate_price",
    children:[
      {
        label: "工费元/㎡",
        prop: "labor_price",
        width: "85px",
      },
      {
        label: "芯胶布原元/㎡",
        prop: "core_glue_material_price",
        width: "115px",
      },
      {
        label: "盖胶原元/㎡",
        prop: "cover_glue_material_price",
        width: "105px",
      }
    ]
  },

]